package top.ochiamalu.aioj.constant;

/**
 * 重定向常数
 *
 * @author ochiamalu
 * @date 2025/03/15
 */
public final class RedirectConstants {
    /**
     * 登录无效状态网址
     */
    public static final String LOGIN_INVALID_STATE_URL = "/user/login?error=invalid_state";
    /**
     * 登录无效类型网址
     */
    public static final String LOGIN_INVALID_TYPE_URL = "/user/login?error=invalid_type";
    /**
     * 登录系统错误网址
     */
    public static final String LOGIN_SYSTEM_ERROR_URL = "/user/login?error=system_error";
    /**
     * 登录验证失败网址
     */
    public static final String LOGIN_AUTH_FAILED_URL = "/user/login?error=auth_failed";
    /**
     * 登录未绑定错误网址
     */
    public static final String LOGIN_NOT_BIND_ERROR_URL = "/user/login?error=not_bind";
    /**
     * 登录成功网址
     */
    public static final String LOGIN_SUCCESS_URL = "/problem";

    /**
     * 绑定系统错误网址
     */
    public static final String BIND_SYSTEM_ERROR_URL = "/profile/secure?error=system_error";
    /**
     * 绑定不登录网址
     */
    public static final String BIND_NOT_LOGIN_URL = "/profile/secure?error=not_login";
    /**
     * 绑定github错误网址
     */
    public static final String BIND_GITHUB_ERROR_URL = "/profile/secure?error=github_error";
    /**
     * 绑定gitee错误网址
     */
    public static final String BIND_GITEE_ERROR_URL = "/profile/secure?error=gitee_error";
    /**
     * 绑定成功网址
     */
    public static final String BIND_SUCCESS_URL = "/profile/secure?success=true";
}
